/**
 * 
 */
package com.gpms.dao;

/**
 * @author laborc
 *
 */
public class HibernateDaoFactory
{
	public static IHibernateDao createDao(String args)
	{
		if("fileDao".equals(args))
		{
			return new FileDao();
		}else if("suggestDao".equals(args))
		{
			return new SuggestDao();
		}else if("teamDao".equals(args))
		{
			return new TeamDao();
		}else if("timePointDao".equals(args))
		{
			return new TimePointDao();
		}else if("topicsDao".equals(args))
		{
			return new TopicsDao();
		}else if("userDao".equals(args))
		{
			return new UserDao();
		}else
		{
			return null;
		}
	}
}
